@font-face {
    font-family: 'TitilliumMaps';
    src: url('https://getfirebug.com/fonts/TitilliumMaps26L001.eot');
    src: local('☺'), url('https://getfirebug.com/fonts/TitilliumMaps26L001.woff') format('woff'), url('https://getfirebug.com/fonts/TitilliumMaps26L001.ttf') format('truetype');
    font-weight: bold;
}

* {
   position: relative;
}

html, body {
    width: 100%;
    min-height: calc(100% - 30px);
    margin: 0;
    padding-bottom: 30px;
}

body {
    background: #FFFFFF linear-gradient(to bottom, #EAF1FB, #FFFFFF 450px) no-repeat;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 0.9em;
}

body > div, h1 {
    margin: auto;
    width: 800px;
}

body > div {
    top: 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.6);
    padding: 15px;
}

#content {
    background-image: linear-gradient(to top, #E6E6E6, #F0F0F0);
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 10px;
}

#output {
    display: none;
    background-image: linear-gradient(to top, #F5F5F5, #FFFFFF);
    margin: 10px 0;
    padding: 10px;
}

pre {
    margin: 0;
}

footer {
    margin-top: 10px;
    text-align: right;
    font-size: 75%;
    font-style: italic;
}

h1, h2 {
    font-family: /* TitilliumMaps, */ "Trebuchet MS", Helvetica, sans-serif;
    font-size: 130%;
    font-weight: bold;
}

h1 {
   top: 20px;
}

h2 {
    margin: 0.5em 0;
    border-bottom: 2px solid #9ACBE4;
}

h3 {
    margin: 0.3em 0 0.2em 0;
    font-size: 105%;
}

p, ol, ul {
   margin: 0.2em 0;
}

p {
    padding-left: 20px;
}

#description p {
  font-style: italic;
}

#description ul {
    list-style-type: square;
    list-style-image: url();
}

#description li.ok, #description li span.ok {
    color: #00B400;
}

#description li.error, #description li span.error {
    color: #DC0000;
}

code {
    white-space: pre;
    color: #008C00;
}

code.key, kbd {
    background-color: #F0F0F0;
    border: 1px solid #B4B4B4;
    border-radius: 4px;
    font-family: "Trebuchet MS",helvetica,sans-serif;
    line-height: 1.8em;
    padding: 0 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(255, 255, 255, 0.7) inset;
}

code.result {
    color: #000088;
}

input, button {
    border: 1px solid #AAAAAA;
    border-radius: 5px;
    padding: 3px 5px;
}

input[type="button"], button {
    background-image: linear-gradient(to top, #A0A0A0, #C8C8C8);
    box-shadow: 0 -2px 2px -1px rgba(0, 0, 0, 0.5) inset, 0 2px 2px -1px #FFFFFF inset;
    text-shadow: 1px 1px rgba(255, 255, 255, 0.3);
}

input[type="button"][disabled="true"], button[disabled="true"] {
    background-image: linear-gradient(to top, #C8C8C8, #F0F0F0);
}

input[type="button"]:not([disabled="true"]):hover,
button:not([disabled="true"]):hover {
    background-image: linear-gradient(to top, #B4B4B4, #DCDCDC);
}

input[type="button"]:not([disabled="true"]):active,
button:not([disabled="true"]):active {
    background-image: linear-gradient(to bottom, #8C8C8C, #A0A0A0);
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.5) inset, 0 -2px 2px -1px #FFFFFF inset;
}
